package com.cango.student.guice.dao.impl;

import com.cango.student.guice.dao.MessageDao;
import com.cango.student.guice.domain.Message;

public class MessageDaoImpl implements MessageDao {
    public void sendMessage(Message msg) {
        System.out.println("收到消息{}" + msg.toString());
    }

    public Message receiveMessage() {
        System.out.println("发送消息");
        return new Message("back", "地瓜地瓜 ,我是土豆 .");
    }
}
